package com.bocai.kelala.ui.travel.stroke.contract;

import com.bocai.kelala.base.BaseView;
import com.bocai.kelala.bean.CheckLineBean;
import com.bocai.kelala.bean.MyAddressBean;

import java.util.List;

/**
 * Created by yuanfei on 2017/6/28.
 */

public interface PublishStrokeContract {

    interface view extends BaseView {

        void checkLineSuccess(CheckLineBean bean);

        void publishStrokeSuccess();

        void optionalSeatsList(List<Integer> list);

        void originAreasList(List<MyAddressBean> list);

        void arriveAreasList(List<MyAddressBean> list);

    }
    abstract static class presenter  {


        public abstract void checkLine(String addressId);

        public abstract void publishStroke(String PriceId,String DepartureTime);

        //可选择车辆座位数
        public abstract void optionalSeats();

        //出发地列表
        public abstract void originAreas();

        //目的地列表
        public abstract void arriveAreas(String originCityId,String originAddress);

    }

}
